package com.opensource.svgaplayer.entities;

import com.opensource.svgaplayer.proto.AudioEntity;

/**
 * ex.
 *
 * @author wl
 * @since 2021-06-28
 */
public class SVGAAudioEntity {
    private String audioKey;
    private int startFrame;
    private int endFrame;
    private int startTime;
    private int totalTime;
    private int soundID;
    private int playID;

    /**
     * getAudioKey
     *
     * @return String
     */
    public String getAudioKey() {
        return this.audioKey;
    }

    /**
     * getStartFrame
     *
     * @return int
     */
    public int getStartFrame() {
        return this.startFrame;
    }

    /**
     * getEndFrame
     *
     * @return int
     */
    public int getEndFrame() {
        return this.endFrame;
    }

    /**
     * getStartTime
     *
     * @return int
     */
    public int getStartTime() {
        return this.startTime;
    }

    /**
     * getTotalTime
     *
     * @return int
     */
    public int getTotalTime() {
        return this.totalTime;
    }


    /**
     * getSoundID
     *
     * @return Integer
     */
    public Integer getSoundID() {
        return this.soundID;
    }

    /**
     * setSoundID
     *
     * @param var1 var1
     */
    public void setSoundID(Integer var1) {
        this.soundID = var1;
    }

    /**
     * getPlayID
     *
     * @return Integer
     */
    public Integer getPlayID() {
        return this.playID;
    }

    /**
     * setPlayID
     *
     * @param var1 var1
     */
    public void setPlayID(Integer var1) {
        this.playID = var1;
    }

    /**
     * SVGAAudioEntity
     *
     * @param audioItem AudioEntity
     */
    public SVGAAudioEntity(AudioEntity audioItem) {
        this.audioKey = audioItem.audioKey;
        this.startFrame = audioItem.startFrame;
        this.endFrame = audioItem.endFrame;
        this.startTime = audioItem.startTime;
        this.totalTime = audioItem.totalTime;
    }
}
